package com.example.demo.utils;

import java.util.List;

import com.example.demo.Entity.Employee;

public class SumofPage {
	
	public static Integer getSumofPages(List<Employee> list) {
		Integer size = list.size();
		Integer sum = (size/10) + 1;
		return sum;
	}
	
	public static Integer getSumofPage(List<Integer> list) {
		Integer size = list.size();
		Integer sum = (size/10) + 1;
		return sum;
	}

}
